package cn.codeforfun.base;

import org.apache.ibatis.annotations.Param;

public interface BaseMapper {
    void deleteRelationBetweenUserAndRoleAll();

    void deleteRelationBetweenRoleAndResourcesAll();

    void insertRelationBetweenRoleAndResources(@Param("roleId") String roleId, @Param("resourceId") String resourceId);

    void insertRelationBetweenUserAndRole(@Param("userId") String userId, @Param("roleId") String roleId);
}
